package gui.control;

import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.BorderFactory;
import javax.swing.ButtonGroup;
import javax.swing.JRadioButton;
/**
 * 
 * @author Alex
 *
 */
public class TDContModus extends JPanel {

	JRadioButton b1;
	JRadioButton b2;
	
	ButtonGroup bg;
	TDContModus()
	{
		super();
		bg = new ButtonGroup();
		b1 = new JRadioButton("Online");
		b2 = new JRadioButton("Offline");
		
		this.setBorder(BorderFactory.createLineBorder(Color.BLACK));
		this.setLayout(new java.awt.FlowLayout());

		bg.add(b1);
		bg.add(b2);
		this.add(b1);
		this.add(b2);
		this.setVisible(true);
	}
}
